/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.umss.arqui10.modelo;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @author rho1and0
 */
class Billable {

    protected Price price;

    Billable() {
        this.price = new Price();
    }

    BigDecimal getCurrentPrice(){
        return price.getCurrentPrice();
    }
    BigDecimal getPriceAt(Date d){
        return price.getPrice(d);
    }
    void changeCurrentPrice(BigDecimal newPrice){
        price.changeCurrentPrice(newPrice);
    }
}